import config from "@/config"
import http from "@/utils/request"
export default {
	SaveMemberScheme: {
		url: `${config.API_URL}/MemberScheme/SaveMemberScheme`,
		name: "保存优惠券信息",
		post: async function (data) {
		    return await http.post(this.url, data, {
		        headers: {
		            //'response-status': 401
		        }
		    });
		}
	},
	GetMemberSchemeTicket: {
		url: `${config.API_URL}/MemberScheme/GetMemberSchemeTicket`,
		name: "获取方案赠送券",
		post: async function (data) {
		    return await http.post(this.url, data, {
		        headers: {
		            //'response-status': 401
		        }
		    });
		}
	},
	SetMemberSchemeState: {
		url: `${config.API_URL}/MemberScheme/SetMemberSchemeState`,
		name: "修改充值方案状态",
		post: async function (data) {
		    return await http.post(this.url, data, {
		        headers: {
		            //'response-status': 401
		        }
		    });
		}
	},
}
